﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class Person
{
    private string name;
    private int? age;

    public Person(string name, int? age)
    {
        this.name = name;
        this.age = age;
    }

    public Person(string name)
    {
        this.name = name;
        this.age = null;
    }

    public Person()
    {
        this.name = null;
        this.age = null;
    }

    public string Name
    {
        get
        {
            return name;
        }
        set
        {
            name = value;
        }
    }

    public int? Age
    {
        get
        {
            return age;
        }
        set
        {
            age = value;
        }
    }

    public override string ToString()
    {
        string result = name;
        if (age == null)
            result += string.Format("\nThe age is not specified");
        else
            result += string.Format(" of age {0}", age);
        return result;
    }

}

